/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.ua.meta;

import java.util.*;

/**
 *
 * @author ananthaamornphong
 */
public class ClassMeta {
    
    private String filename = "";
    
    private String classname = "";

    private ArrayList functions = new ArrayList();
    
    private ArrayList subroutine = new ArrayList();
    
    private ArrayList uselists = new ArrayList();
    
    
    
    public void addFunctions(FunctionMeta f){
        functions.add(f);
    }
    
    public ArrayList getFunctions(){
        return this.functions;
    }
    
    public void addSubroutine(SubroutineMeta s){
        this.subroutine.add(s);
    }
    
    public ArrayList getSubroutine(){
        return this.subroutine;
    }
    
    public void addUses(ClassMeta cl){
        uselists.add(cl);
    }
    
    public ArrayList getUses(){
        return this.uselists;
    }

    public String getClassname() {
        return classname;
    }

    public String getFilename() {
        return filename;
    }

    public void setClassname(String classname) {
        this.classname = classname;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }
    
}
